package com.jsh.erp.datasource.entities;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel("财务主表")
@Data
public class AccountHeadVo {
    @ApiModelProperty("主键")
     private String id;
    @ApiModelProperty("类型(支出/收入/收款/付款/转账)")
    private String type;
    @ApiModelProperty("单位Id(收款/付款单位)")
    private String organId;
    @ApiModelProperty("经手人id")
    private String handsPersonId;
    @ApiModelProperty("操作员")
    private String creator;
    @ApiModelProperty("变动金额(优惠/收款/付款/实付)")
    private BigDecimal changeAmount;

    @ApiModelProperty("合计金额")
    private BigDecimal totalPrice;
    @ApiModelProperty("账户(收款/付款)")
    private String accountId;
    @ApiModelProperty("单据编号")
    private String billNo;
    @ApiModelProperty("单据日期")
    private String billTime;
    @ApiModelProperty("供应商/客户名称")
    private String organName;
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("用户名称")
    private String loginName;
    @ApiModelProperty("余额")
    private BigDecimal balance;
    @ApiModelProperty("未核销金额")
    private BigDecimal writtenAmount;
    @ApiModelProperty("收付款金额")
    private BigDecimal receivedAmount;
    @ApiModelProperty("预收付款金额")
    private BigDecimal receivedAdvanceAmount;
    @ApiModelProperty("预收付款抵扣金额")
    private BigDecimal receivedDeductionAdvanceAmount;
    @ApiModelProperty("优惠金额")
    private BigDecimal discountMoney;


}
